@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <div class="row">
                <div class="col-sm-6 b-r">
                            <input id="id" name="编号" underline="true"   type="hidden" style="display:none;"/>
                            <#input id="title" name="标题" underline="true"/>
                            <#input id="img222" name="图片(大小:610*230)" underline="true" type="file"  />
                            <input id="img" name="图片" underline="true"  type="hidden"/>
                            <#input id="goalUrl" name="跳转地址"/>
                </div>

                <div class="col-sm-6">
                            <input id="examine" name="发布状态(0待发布1发布中2不发布)" underline="true" type="hidden" style="display:none;"/>
                            <#input id="city" name="城市名称(拼音小写,如jinan)" underline="true"/>
                            <input id="createTime" name="更改时间" underline="true" type="hidden" style="display:none;"/>


                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="MyCityInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="MyCityInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script>
    $('#img222').on('change',function(){
        var reader=new FileReader();
        reader.onload=function(e){
            console.log(reader.result);
            $('#img').val(reader.result);

        };
        reader.readAsDataURL(this.files[0])
    });
</script>
<script src="${ctxPath}/static/modular/mycity/myCity/myCity_info.js"></script>
@}
